<?php echo $this->doctype() ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>上海旷诚钢铁贸易有限公司</title>
	<link type="text/css" media="ALL" href="<?php $_SERVER['DOCUMENT_ROOT']?>/css/global.css" rel="stylesheet" />	
	<script type="text/javascript" src="<?php $_SERVER['DOCUMENT_ROOT']?>/jquery-ui-1.8.custom/js/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="<?php $_SERVER['DOCUMENT_ROOT']?>/jquery-ui-1.8.custom/js/jquery-ui-1.8.custom.min.js"></script>
    <script type="text/javascript" src="<?php $_SERVER['DOCUMENT_ROOT']?>/js/common.js"></script>	
    <script type="text/javascript" src="<?php $_SERVER['DOCUMENT_ROOT']?>/js/data.js"></script>	
	<style type="text/css">
		div#header {
			background-color: #EEEEEE; 
			height: 30px;
		}
		div#side-bar {
			float:left;
			width:80px;
			min-height:100%;			
			background-color: cyan; 
			border:black 1px solid;
		} 
		div#content-frame {
			float:right;
			min-height:100%;
			width:90%;
		}

	</style>
	<script type="text/javascript">
		$(function() {		
			if(typeof(init) == 'function') {
				init();
			}
		});	
	</script>
</head>
<body>
<div id="header" class="noprint">
	<div id="header-logo" style="float: left">
		<b>上海旷诚钢铁贸易有限公司</b>
	</div>
	<div id="debugInfo" style="color:red"></div>
	<div id="header-navigation" style="float: right">
		<a href="<?php echo $this->url(
		array('controller'=>'user'),
			'default',
		true) ?>">登录</a>
	</div>
</div>

<div id="side-bar" class="noprint">
	<br/>
	<a href="<?php echo $this->url(
	array('controller'=>'customer',
			'action'  => 'show'),
		'default',
		true)?>">客户管理</a>
	<br/>
	<br/>
	<a href="<?php echo $this->url(
	array('controller'=>'entrepot',
			'action'  => 'show'),
		'default',
		true)?>">仓库管理</a>
	<br/>
	<br/>
	<a href="<?php echo $this->url(
	array('controller'=>'stock',
			'action'  => 'showallstockin'),
		'default',
		true)?>">库存管理</a>
	<br/>
	<br/>
	<a href="<?php echo $this->url(
	array('controller'=>'deliveryorder',
			'action'  => 'show'),
		'default',
		true)?>">销售管理</a>
</div>

<div id="content-frame">
	<?php echo $this->layout()->content ?>
</div>

</body>
</html>
